<?php
/**
 * The class that contains all the information needed to link a Bobshaker account to its Twitter or Facebook account
 */
class SocialNetworkLink
{
    public $NetworkUserID;
    public $Media;

    /**
     * Constructor for a Possible Friend
     */
    public function SocialNetworkLink($networkUserID, $media)
    {
        $this->NetworkUserID = (string) $networkUserID;
        $this->Media = (string) $media;
    }
}

class PossibleFriend
{
    public $Media;
    public $NetworkUserID;
    public $FirstName;
    public $LastName;
    public $class = "zuyd.bobdev.social.PossibleFriend";

    /**
     * Constructor for a Possible Friend
     * @var string $media Can only be "facebook" or "twitter"
     */
    public function PossibleFriend($media, $networkUserID, $firstName, $lastName)
    {
        $this->Media = (string) $media; // "facebook" or "twitter"
        $this->NetworkUserID = (string) $networkUserID;
        $this->FirstName = (string) $firstName;
        $this->LastName = (string) $lastName;
    }
}

class ConfirmedFriend
{
    public $Media;
    public $NetworkUserID;
    public $FirstName;
    public $LastName;
    public $class = "zuyd.bobdev.social.ConfirmedFriend";

    /**
     * Constructor for a Confirmed Friend
     * @var string $media Can only be "facebook" or "twitter"
     */
    public function ConfirmedFriend	($media, $networkUserID, $firstName, $lastName)
    {
        $this->Media = (string) $media; // "facebook" or "twitter"
        $this->NetworkUserID = (string) $networkUserID;
        $this->FirstName = (string) $firstName;
        $this->LastName = (string) $lastName;
    }
}
?>